<template>
  <ul>
    <li>学科编号: {{$route.query.id}}</li>
    <li>学科名称: {{$route.query.name}}</li>
    <li>学科分数: {{score}}</li>
  </ul>
</template>

<script>
export default {
    name: 'SubjectDetail',
    props:['score'],
    mounted() {
        console.log(this.$route);
    }

}
</script>

<style>

</style>